deliverToDefaultDirectory

public static void deliverToDefaultDirectory()

Delivers Chromium binaries to the default directory if necessary.

By default, Engine unpacks and copies the binaries when it is created. This may take up to several seconds, depending on the hardware. Use this method to do it in advance.

Does nothing if the binaries are already delivered.

See also

the default directory for the Chromium binaries

Throws

when the delivery of the Chromium binaries failed


public static void deliverToDefaultDirectory(BinariesDelivery delivery)

Delivers Chromium binaries to the default directory, but delegates actual delivery to the given delivery.

Use this method to override how JxBrowser locates and obtains the binaries.

Does nothing if the binaries are already delivered.

Parameters

delivery

the delivery mechanism of the binaries

See also

the default directory for the Chromium binaries

Throws

when the delivery of the Chromium binaries failed